package kr.co.coffee247soft.cafe;

import java.io.ByteArrayOutputStream;
import java.util.ArrayList;

import kr.co.coffee247soft.request.Request247soft;
import android.app.Activity;
import android.os.Bundle;

public class CafeActivity extends Activity
{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		ByteArrayOutputStream baos = new ByteArrayOutputStream();
		
		Request247soft request = new Request247soft("getCafeList", baos, new CafeParser());
		
		try {
			
			ArrayList<CafeData> list = (ArrayList<CafeData>) request.connection();
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
